/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package card.entity;

import card.specs.CardName;
import card.specs.CardSuit;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlValue;

/**
 *
 * @author Администратор
 */
@XmlRootElement
public class Card {

    @XmlAttribute
    private CardName cardName;
    @XmlAttribute
    private CardSuit cardSuit;

    public Card() {
    }

    public Card(CardName cardName, CardSuit cardSuite) {
        this.cardName = cardName;
        this.cardSuit = cardSuite;
    }

    public CardName getCardName() {
        return cardName;
    }

    public CardSuit getCardSuit() {
        return cardSuit;
    }

}
